/*
 * @Author: your name
 * @Date: 2021-07-13 18:21:29
 * @LastEditTime: 2021-07-13 21:02:18
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \TEST\Core\mycode\duoji.h
 */
#include "tim.h"


typedef struct
{
    float angle;
    float w;
    float target_angle;
    int pwm;
}SERVO;

SERVO servo1;
SERVO servo2;
void servo2_move_to_angle(float angle);
void servo1_move_to_angle(float angle);

